package ext.mango.utils;

import java.io.File;
import java.net.URL;

public class FindAllClass {
    public static void findPackage(String packageName) {
        String pkg = packageName.replaceAll("\\.", "/");
        URL url = Thread.currentThread().getContextClassLoader().getResource(pkg);
        File dir = new File(url.getFile());
        File[] files = dir.listFiles();
        for (File f : files) {
            System.out.println(f.getName());
        }
    }
    
    public static void main(String[] args) {
        FindAllClass.findPackage("ext.mango.aa.eo");
    }
}